from business.base import Base
from public.address import CartUrl


class Cart(Base):
    def Cart_account_add(self,item_data):
        json_data= {
         "item_id": item_data,
        "goods_num": 1
        }
        res_code,response=self.send_requests("post",url=CartUrl.CartUrl_Account_Add,json=json_data)
        return res_code,response
